<?php 
if (isset($_GET['id'])  && !empty($_GET['id'])) {
	include_once("../core/config.php");
	$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
	$sql="update pin set status='not' where id='".$_GET['id']."'  ";
	$query = $mysqli->query($sql);
}

